<template>
  <view class="good-info">
    <view class="good-header">
      <text>优惠专区</text>
      <view class="right-header">
        <text>更多</text>
        <text class="t-icon t-icon-icon51"></text>
      </view>
    </view>
    <view class="good-info">
      <view class="good-item">
        <image class="image" src="@/static/test2.png" mode="scaleToFill" />
        <text class="info-one">空调加速</text>
        <text class="info-two">195元</text>
      </view>

      <view class="good-item">
        <image class="image" src="@/static/test2.png" mode="scaleToFill" />
        <text class="info-one">空调加速</text>
        <text class="info-two">195元</text>
      </view>

      <view class="good-item">
        <image class="image" src="@/static/test2.png" mode="scaleToFill" />
        <text class="info-one">空调加速</text>
        <text class="info-two">195元</text>
      </view>
    </view>
  </view>
</template>
<script setup lang="ts"></script>
<style lang="scss">
.good-info {
  // margin-top: 20rpx;
  padding-bottom: 20rpx;
  border-radius: 5rpx;
  background-color: #ffffff;

  .good-header {
    // padding: 40rpx;
    height: 100rpx;
    display: flex;
    justify-content: space-between;
    line-height: 100rpx;
    align-items: center;
    .right-header {
      display: flex;
      align-items: center;
    }
  }
  .good-info {
    display: flex;
    justify-content: space-between;
    .good-item {
      display: flex;
      width: 30%;
      flex-direction: column;
      justify-content: center;
      .image {
        width: 98%;
        height: 180rpx;
      }
      .info-one {
        font-weight: bold;
        padding: 6rpx;
      }
      .info-two {
        padding: 6rpx;
        font-size: 32rpx;
        color: #f01b1b;
      }
    }
  }
}
</style>
